<include file="Index/header" />
    <!--sidebar left start-->
    <include file="Index/nav" />
    <!--左侧栏 end-->
    <!--主内容 start-->
    <section class="main-content-wrapper">
        <section id="main-content">
            
            <div class="row">
                    <div class="col-md-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h3 class="panel-title">站点基本信息配置</h3>
                                <div class="actions pull-right">
                                    <i class="fa fa-chevron-down"></i>
                                    <i class="fa fa-times"></i>
                                </div>
                            </div>
                            <div class="panel-body">
								<form class="form-horizontal form-border" id="cs_position_form">
									<div class="form-group">
                                        <label class="col-sm-3 control-label">站点标题</label>
                                        <div class="col-sm-6">
                                            <input type="text" value="{$basics.title}" name="title" class="form-control" placeholder="推荐位名字">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">站点关键字</label>
                                        <div class="col-sm-6">
                                            <input type="text" value="{$basics.keywords}" name="keywords" class="form-control" placeholder="推荐位描述">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">站点描述</label>
                                        <div class="col-sm-6">
                                            <input type="text" value="{$basics.description}" name="description" class="form-control" placeholder="推荐位描述">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">底部透明窗words</label>
                                        <div class="col-sm-6">
                                            <input type="text" value="{$basics.footer_words}" name="footer_words" class="form-control" placeholder="推荐位描述">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">关于描述</label>
                                        <div class="col-sm-6">
                                            <input type="text" value="{$basics.about}" name="about" class="form-control" placeholder="推荐位描述">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">站点开关</label>
                                        <div class="col-sm-6">
                                            <div class="radio">
                                                <input class="icheck" type="radio" <if condition="$basics['status'] eq 1" >checked</if> name="status" value="1">
                                                <label>开启</label>
                                            </div>
                                            <div class="radio">
                                                <input class="icheck" type="radio" <if condition="$basics['status'] eq 0" >checked</if> name="status" value="0">
                                                <label>维护</label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">维护通知</label>
                                        <div class="col-sm-6">
                                            <input type="text" value="{$basics.fixed}" name="fixed" class="form-control" placeholder="维护公告">
                                        </div>
                                    </div>
                                    
                                     <div class="form-group">
                                        <label class="col-sm-3 control-label"></label>
                                        <div class="col-sm-6">
	                                        <button type="button" id="csbtn_content_sub" class="btn btn-primary">提交</button>
                                        </div>
                                    </div>
								</form>				                            
                            </div>	
                        </div>
                    </div>
                </div>
                
                <div class="row">
                    <div class="col-md-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h3 class="panel-title">缓存配置</h3>
                                <div class="actions pull-right">
                                    <i class="fa fa-chevron-down"></i>
                                    <i class="fa fa-times"></i>
                                </div>
                            </div>
                            <div class="panel-body" style="display: none;">
								<form class="form-horizontal form-border" id="cs_position_form">
									<div class="form-group">
                                        <label class="col-sm-3 control-label">首页缓存</label>
                                        <div class="col-sm-6">
	                                        <button type="button" id="csbtn_updata_sub" class="btn btn-primary">更新缓存</button>
                                        </div>
                                    </div>
                                   
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">定时更新缓存</label>
                                        <div class="col-sm-6">
                                            <div class="radio">
                                                <input class="icheck" type="radio" <if condition="$basics['status'] eq 1" >checked</if> name="status" value="1">
                                                <label>开启</label>
                                            </div>
                                            <div class="radio">
                                                <input class="icheck" type="radio" <if condition="$basics['status'] eq 0" >checked</if> name="status" value="0">
                                                <label>维护</label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">更新时间间隔（min）</label>
                                        <div class="col-sm-6">
                                            <input type="text" value="" name="fixed" class="form-control" placeholder="维护公告">
                                        </div>
                                    </div>
                                    
                                     <div class="form-group">
                                        <label class="col-sm-3 control-label"></label>
                                        <div class="col-sm-6">
	                                        <button type="button" id="csbtn_content_sub" class="btn btn-primary">提交</button>
                                        </div>
                                    </div>
								</form>				                            
                            </div>	
                        </div>
                    </div>
                </div>
                
                
                
          
            
        </section>
    </section>
    <!--主内容区 end-->
    <script src="/Public/js/admin/position.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	var SCOPE={
			'add_url':'/admin.php?c=basic&a=add',
			'jump_url':'/admin.php?c=basic&a=index',
			'ajax_upload_img_url':'/admin.php?c=image&a=save',
			
		}
    	
    	
    	
    </script>
        
<include file="Index/footer" />
